package com.suyuan.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class PigOutExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public PigOutExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andGidIsNull() {
            addCriterion("GID is null");
            return (Criteria) this;
        }

        public Criteria andGidIsNotNull() {
            addCriterion("GID is not null");
            return (Criteria) this;
        }

        public Criteria andGidEqualTo(Integer value) {
            addCriterion("GID =", value, "gid");
            return (Criteria) this;
        }

        public Criteria andGidNotEqualTo(Integer value) {
            addCriterion("GID <>", value, "gid");
            return (Criteria) this;
        }

        public Criteria andGidGreaterThan(Integer value) {
            addCriterion("GID >", value, "gid");
            return (Criteria) this;
        }

        public Criteria andGidGreaterThanOrEqualTo(Integer value) {
            addCriterion("GID >=", value, "gid");
            return (Criteria) this;
        }

        public Criteria andGidLessThan(Integer value) {
            addCriterion("GID <", value, "gid");
            return (Criteria) this;
        }

        public Criteria andGidLessThanOrEqualTo(Integer value) {
            addCriterion("GID <=", value, "gid");
            return (Criteria) this;
        }

        public Criteria andGidIn(List<Integer> values) {
            addCriterion("GID in", values, "gid");
            return (Criteria) this;
        }

        public Criteria andGidNotIn(List<Integer> values) {
            addCriterion("GID not in", values, "gid");
            return (Criteria) this;
        }

        public Criteria andGidBetween(Integer value1, Integer value2) {
            addCriterion("GID between", value1, value2, "gid");
            return (Criteria) this;
        }

        public Criteria andGidNotBetween(Integer value1, Integer value2) {
            addCriterion("GID not between", value1, value2, "gid");
            return (Criteria) this;
        }

        public Criteria andPurGidIsNull() {
            addCriterion("Pur_GID is null");
            return (Criteria) this;
        }

        public Criteria andPurGidIsNotNull() {
            addCriterion("Pur_GID is not null");
            return (Criteria) this;
        }

        public Criteria andPurGidEqualTo(Integer value) {
            addCriterion("Pur_GID =", value, "purGid");
            return (Criteria) this;
        }

        public Criteria andPurGidNotEqualTo(Integer value) {
            addCriterion("Pur_GID <>", value, "purGid");
            return (Criteria) this;
        }

        public Criteria andPurGidGreaterThan(Integer value) {
            addCriterion("Pur_GID >", value, "purGid");
            return (Criteria) this;
        }

        public Criteria andPurGidGreaterThanOrEqualTo(Integer value) {
            addCriterion("Pur_GID >=", value, "purGid");
            return (Criteria) this;
        }

        public Criteria andPurGidLessThan(Integer value) {
            addCriterion("Pur_GID <", value, "purGid");
            return (Criteria) this;
        }

        public Criteria andPurGidLessThanOrEqualTo(Integer value) {
            addCriterion("Pur_GID <=", value, "purGid");
            return (Criteria) this;
        }

        public Criteria andPurGidIn(List<Integer> values) {
            addCriterion("Pur_GID in", values, "purGid");
            return (Criteria) this;
        }

        public Criteria andPurGidNotIn(List<Integer> values) {
            addCriterion("Pur_GID not in", values, "purGid");
            return (Criteria) this;
        }

        public Criteria andPurGidBetween(Integer value1, Integer value2) {
            addCriterion("Pur_GID between", value1, value2, "purGid");
            return (Criteria) this;
        }

        public Criteria andPurGidNotBetween(Integer value1, Integer value2) {
            addCriterion("Pur_GID not between", value1, value2, "purGid");
            return (Criteria) this;
        }

        public Criteria andProGidIsNull() {
            addCriterion("Pro_GID is null");
            return (Criteria) this;
        }

        public Criteria andProGidIsNotNull() {
            addCriterion("Pro_GID is not null");
            return (Criteria) this;
        }

        public Criteria andProGidEqualTo(Integer value) {
            addCriterion("Pro_GID =", value, "proGid");
            return (Criteria) this;
        }

        public Criteria andProGidNotEqualTo(Integer value) {
            addCriterion("Pro_GID <>", value, "proGid");
            return (Criteria) this;
        }

        public Criteria andProGidGreaterThan(Integer value) {
            addCriterion("Pro_GID >", value, "proGid");
            return (Criteria) this;
        }

        public Criteria andProGidGreaterThanOrEqualTo(Integer value) {
            addCriterion("Pro_GID >=", value, "proGid");
            return (Criteria) this;
        }

        public Criteria andProGidLessThan(Integer value) {
            addCriterion("Pro_GID <", value, "proGid");
            return (Criteria) this;
        }

        public Criteria andProGidLessThanOrEqualTo(Integer value) {
            addCriterion("Pro_GID <=", value, "proGid");
            return (Criteria) this;
        }

        public Criteria andProGidIn(List<Integer> values) {
            addCriterion("Pro_GID in", values, "proGid");
            return (Criteria) this;
        }

        public Criteria andProGidNotIn(List<Integer> values) {
            addCriterion("Pro_GID not in", values, "proGid");
            return (Criteria) this;
        }

        public Criteria andProGidBetween(Integer value1, Integer value2) {
            addCriterion("Pro_GID between", value1, value2, "proGid");
            return (Criteria) this;
        }

        public Criteria andProGidNotBetween(Integer value1, Integer value2) {
            addCriterion("Pro_GID not between", value1, value2, "proGid");
            return (Criteria) this;
        }

        public Criteria andOuttimeIsNull() {
            addCriterion("OutTime is null");
            return (Criteria) this;
        }

        public Criteria andOuttimeIsNotNull() {
            addCriterion("OutTime is not null");
            return (Criteria) this;
        }

        public Criteria andOuttimeEqualTo(Date value) {
            addCriterion("OutTime =", value, "outtime");
            return (Criteria) this;
        }

        public Criteria andOuttimeNotEqualTo(Date value) {
            addCriterion("OutTime <>", value, "outtime");
            return (Criteria) this;
        }

        public Criteria andOuttimeGreaterThan(Date value) {
            addCriterion("OutTime >", value, "outtime");
            return (Criteria) this;
        }

        public Criteria andOuttimeGreaterThanOrEqualTo(Date value) {
            addCriterion("OutTime >=", value, "outtime");
            return (Criteria) this;
        }

        public Criteria andOuttimeLessThan(Date value) {
            addCriterion("OutTime <", value, "outtime");
            return (Criteria) this;
        }

        public Criteria andOuttimeLessThanOrEqualTo(Date value) {
            addCriterion("OutTime <=", value, "outtime");
            return (Criteria) this;
        }

        public Criteria andOuttimeIn(List<Date> values) {
            addCriterion("OutTime in", values, "outtime");
            return (Criteria) this;
        }

        public Criteria andOuttimeNotIn(List<Date> values) {
            addCriterion("OutTime not in", values, "outtime");
            return (Criteria) this;
        }

        public Criteria andOuttimeBetween(Date value1, Date value2) {
            addCriterion("OutTime between", value1, value2, "outtime");
            return (Criteria) this;
        }

        public Criteria andOuttimeNotBetween(Date value1, Date value2) {
            addCriterion("OutTime not between", value1, value2, "outtime");
            return (Criteria) this;
        }

        public Criteria andOutweightIsNull() {
            addCriterion("OutWeight is null");
            return (Criteria) this;
        }

        public Criteria andOutweightIsNotNull() {
            addCriterion("OutWeight is not null");
            return (Criteria) this;
        }

        public Criteria andOutweightEqualTo(Float value) {
            addCriterion("OutWeight =", value, "outweight");
            return (Criteria) this;
        }

        public Criteria andOutweightNotEqualTo(Float value) {
            addCriterion("OutWeight <>", value, "outweight");
            return (Criteria) this;
        }

        public Criteria andOutweightGreaterThan(Float value) {
            addCriterion("OutWeight >", value, "outweight");
            return (Criteria) this;
        }

        public Criteria andOutweightGreaterThanOrEqualTo(Float value) {
            addCriterion("OutWeight >=", value, "outweight");
            return (Criteria) this;
        }

        public Criteria andOutweightLessThan(Float value) {
            addCriterion("OutWeight <", value, "outweight");
            return (Criteria) this;
        }

        public Criteria andOutweightLessThanOrEqualTo(Float value) {
            addCriterion("OutWeight <=", value, "outweight");
            return (Criteria) this;
        }

        public Criteria andOutweightIn(List<Float> values) {
            addCriterion("OutWeight in", values, "outweight");
            return (Criteria) this;
        }

        public Criteria andOutweightNotIn(List<Float> values) {
            addCriterion("OutWeight not in", values, "outweight");
            return (Criteria) this;
        }

        public Criteria andOutweightBetween(Float value1, Float value2) {
            addCriterion("OutWeight between", value1, value2, "outweight");
            return (Criteria) this;
        }

        public Criteria andOutweightNotBetween(Float value1, Float value2) {
            addCriterion("OutWeight not between", value1, value2, "outweight");
            return (Criteria) this;
        }

        public Criteria andWeightunitIsNull() {
            addCriterion("WeightUnit is null");
            return (Criteria) this;
        }

        public Criteria andWeightunitIsNotNull() {
            addCriterion("WeightUnit is not null");
            return (Criteria) this;
        }

        public Criteria andWeightunitEqualTo(String value) {
            addCriterion("WeightUnit =", value, "weightunit");
            return (Criteria) this;
        }

        public Criteria andWeightunitNotEqualTo(String value) {
            addCriterion("WeightUnit <>", value, "weightunit");
            return (Criteria) this;
        }

        public Criteria andWeightunitGreaterThan(String value) {
            addCriterion("WeightUnit >", value, "weightunit");
            return (Criteria) this;
        }

        public Criteria andWeightunitGreaterThanOrEqualTo(String value) {
            addCriterion("WeightUnit >=", value, "weightunit");
            return (Criteria) this;
        }

        public Criteria andWeightunitLessThan(String value) {
            addCriterion("WeightUnit <", value, "weightunit");
            return (Criteria) this;
        }

        public Criteria andWeightunitLessThanOrEqualTo(String value) {
            addCriterion("WeightUnit <=", value, "weightunit");
            return (Criteria) this;
        }

        public Criteria andWeightunitLike(String value) {
            addCriterion("WeightUnit like", value, "weightunit");
            return (Criteria) this;
        }

        public Criteria andWeightunitNotLike(String value) {
            addCriterion("WeightUnit not like", value, "weightunit");
            return (Criteria) this;
        }

        public Criteria andWeightunitIn(List<String> values) {
            addCriterion("WeightUnit in", values, "weightunit");
            return (Criteria) this;
        }

        public Criteria andWeightunitNotIn(List<String> values) {
            addCriterion("WeightUnit not in", values, "weightunit");
            return (Criteria) this;
        }

        public Criteria andWeightunitBetween(String value1, String value2) {
            addCriterion("WeightUnit between", value1, value2, "weightunit");
            return (Criteria) this;
        }

        public Criteria andWeightunitNotBetween(String value1, String value2) {
            addCriterion("WeightUnit not between", value1, value2, "weightunit");
            return (Criteria) this;
        }

        public Criteria andComGidIsNull() {
            addCriterion("Com_GID is null");
            return (Criteria) this;
        }

        public Criteria andComGidIsNotNull() {
            addCriterion("Com_GID is not null");
            return (Criteria) this;
        }

        public Criteria andComGidEqualTo(Integer value) {
            addCriterion("Com_GID =", value, "comGid");
            return (Criteria) this;
        }

        public Criteria andComGidNotEqualTo(Integer value) {
            addCriterion("Com_GID <>", value, "comGid");
            return (Criteria) this;
        }

        public Criteria andComGidGreaterThan(Integer value) {
            addCriterion("Com_GID >", value, "comGid");
            return (Criteria) this;
        }

        public Criteria andComGidGreaterThanOrEqualTo(Integer value) {
            addCriterion("Com_GID >=", value, "comGid");
            return (Criteria) this;
        }

        public Criteria andComGidLessThan(Integer value) {
            addCriterion("Com_GID <", value, "comGid");
            return (Criteria) this;
        }

        public Criteria andComGidLessThanOrEqualTo(Integer value) {
            addCriterion("Com_GID <=", value, "comGid");
            return (Criteria) this;
        }

        public Criteria andComGidIn(List<Integer> values) {
            addCriterion("Com_GID in", values, "comGid");
            return (Criteria) this;
        }

        public Criteria andComGidNotIn(List<Integer> values) {
            addCriterion("Com_GID not in", values, "comGid");
            return (Criteria) this;
        }

        public Criteria andComGidBetween(Integer value1, Integer value2) {
            addCriterion("Com_GID between", value1, value2, "comGid");
            return (Criteria) this;
        }

        public Criteria andComGidNotBetween(Integer value1, Integer value2) {
            addCriterion("Com_GID not between", value1, value2, "comGid");
            return (Criteria) this;
        }

        public Criteria andOperatornameIsNull() {
            addCriterion("OperatorName is null");
            return (Criteria) this;
        }

        public Criteria andOperatornameIsNotNull() {
            addCriterion("OperatorName is not null");
            return (Criteria) this;
        }

        public Criteria andOperatornameEqualTo(String value) {
            addCriterion("OperatorName =", value, "operatorname");
            return (Criteria) this;
        }

        public Criteria andOperatornameNotEqualTo(String value) {
            addCriterion("OperatorName <>", value, "operatorname");
            return (Criteria) this;
        }

        public Criteria andOperatornameGreaterThan(String value) {
            addCriterion("OperatorName >", value, "operatorname");
            return (Criteria) this;
        }

        public Criteria andOperatornameGreaterThanOrEqualTo(String value) {
            addCriterion("OperatorName >=", value, "operatorname");
            return (Criteria) this;
        }

        public Criteria andOperatornameLessThan(String value) {
            addCriterion("OperatorName <", value, "operatorname");
            return (Criteria) this;
        }

        public Criteria andOperatornameLessThanOrEqualTo(String value) {
            addCriterion("OperatorName <=", value, "operatorname");
            return (Criteria) this;
        }

        public Criteria andOperatornameLike(String value) {
            addCriterion("OperatorName like", value, "operatorname");
            return (Criteria) this;
        }

        public Criteria andOperatornameNotLike(String value) {
            addCriterion("OperatorName not like", value, "operatorname");
            return (Criteria) this;
        }

        public Criteria andOperatornameIn(List<String> values) {
            addCriterion("OperatorName in", values, "operatorname");
            return (Criteria) this;
        }

        public Criteria andOperatornameNotIn(List<String> values) {
            addCriterion("OperatorName not in", values, "operatorname");
            return (Criteria) this;
        }

        public Criteria andOperatornameBetween(String value1, String value2) {
            addCriterion("OperatorName between", value1, value2, "operatorname");
            return (Criteria) this;
        }

        public Criteria andOperatornameNotBetween(String value1, String value2) {
            addCriterion("OperatorName not between", value1, value2, "operatorname");
            return (Criteria) this;
        }

        public Criteria andReceivernameIsNull() {
            addCriterion("ReceiverName is null");
            return (Criteria) this;
        }

        public Criteria andReceivernameIsNotNull() {
            addCriterion("ReceiverName is not null");
            return (Criteria) this;
        }

        public Criteria andReceivernameEqualTo(String value) {
            addCriterion("ReceiverName =", value, "receivername");
            return (Criteria) this;
        }

        public Criteria andReceivernameNotEqualTo(String value) {
            addCriterion("ReceiverName <>", value, "receivername");
            return (Criteria) this;
        }

        public Criteria andReceivernameGreaterThan(String value) {
            addCriterion("ReceiverName >", value, "receivername");
            return (Criteria) this;
        }

        public Criteria andReceivernameGreaterThanOrEqualTo(String value) {
            addCriterion("ReceiverName >=", value, "receivername");
            return (Criteria) this;
        }

        public Criteria andReceivernameLessThan(String value) {
            addCriterion("ReceiverName <", value, "receivername");
            return (Criteria) this;
        }

        public Criteria andReceivernameLessThanOrEqualTo(String value) {
            addCriterion("ReceiverName <=", value, "receivername");
            return (Criteria) this;
        }

        public Criteria andReceivernameLike(String value) {
            addCriterion("ReceiverName like", value, "receivername");
            return (Criteria) this;
        }

        public Criteria andReceivernameNotLike(String value) {
            addCriterion("ReceiverName not like", value, "receivername");
            return (Criteria) this;
        }

        public Criteria andReceivernameIn(List<String> values) {
            addCriterion("ReceiverName in", values, "receivername");
            return (Criteria) this;
        }

        public Criteria andReceivernameNotIn(List<String> values) {
            addCriterion("ReceiverName not in", values, "receivername");
            return (Criteria) this;
        }

        public Criteria andReceivernameBetween(String value1, String value2) {
            addCriterion("ReceiverName between", value1, value2, "receivername");
            return (Criteria) this;
        }

        public Criteria andReceivernameNotBetween(String value1, String value2) {
            addCriterion("ReceiverName not between", value1, value2, "receivername");
            return (Criteria) this;
        }

        public Criteria andRecievertelIsNull() {
            addCriterion("RecieverTel is null");
            return (Criteria) this;
        }

        public Criteria andRecievertelIsNotNull() {
            addCriterion("RecieverTel is not null");
            return (Criteria) this;
        }

        public Criteria andRecievertelEqualTo(String value) {
            addCriterion("RecieverTel =", value, "recievertel");
            return (Criteria) this;
        }

        public Criteria andRecievertelNotEqualTo(String value) {
            addCriterion("RecieverTel <>", value, "recievertel");
            return (Criteria) this;
        }

        public Criteria andRecievertelGreaterThan(String value) {
            addCriterion("RecieverTel >", value, "recievertel");
            return (Criteria) this;
        }

        public Criteria andRecievertelGreaterThanOrEqualTo(String value) {
            addCriterion("RecieverTel >=", value, "recievertel");
            return (Criteria) this;
        }

        public Criteria andRecievertelLessThan(String value) {
            addCriterion("RecieverTel <", value, "recievertel");
            return (Criteria) this;
        }

        public Criteria andRecievertelLessThanOrEqualTo(String value) {
            addCriterion("RecieverTel <=", value, "recievertel");
            return (Criteria) this;
        }

        public Criteria andRecievertelLike(String value) {
            addCriterion("RecieverTel like", value, "recievertel");
            return (Criteria) this;
        }

        public Criteria andRecievertelNotLike(String value) {
            addCriterion("RecieverTel not like", value, "recievertel");
            return (Criteria) this;
        }

        public Criteria andRecievertelIn(List<String> values) {
            addCriterion("RecieverTel in", values, "recievertel");
            return (Criteria) this;
        }

        public Criteria andRecievertelNotIn(List<String> values) {
            addCriterion("RecieverTel not in", values, "recievertel");
            return (Criteria) this;
        }

        public Criteria andRecievertelBetween(String value1, String value2) {
            addCriterion("RecieverTel between", value1, value2, "recievertel");
            return (Criteria) this;
        }

        public Criteria andRecievertelNotBetween(String value1, String value2) {
            addCriterion("RecieverTel not between", value1, value2, "recievertel");
            return (Criteria) this;
        }

        public Criteria andComGid2IsNull() {
            addCriterion("Com_GID2 is null");
            return (Criteria) this;
        }

        public Criteria andComGid2IsNotNull() {
            addCriterion("Com_GID2 is not null");
            return (Criteria) this;
        }

        public Criteria andComGid2EqualTo(Integer value) {
            addCriterion("Com_GID2 =", value, "comGid2");
            return (Criteria) this;
        }

        public Criteria andComGid2NotEqualTo(Integer value) {
            addCriterion("Com_GID2 <>", value, "comGid2");
            return (Criteria) this;
        }

        public Criteria andComGid2GreaterThan(Integer value) {
            addCriterion("Com_GID2 >", value, "comGid2");
            return (Criteria) this;
        }

        public Criteria andComGid2GreaterThanOrEqualTo(Integer value) {
            addCriterion("Com_GID2 >=", value, "comGid2");
            return (Criteria) this;
        }

        public Criteria andComGid2LessThan(Integer value) {
            addCriterion("Com_GID2 <", value, "comGid2");
            return (Criteria) this;
        }

        public Criteria andComGid2LessThanOrEqualTo(Integer value) {
            addCriterion("Com_GID2 <=", value, "comGid2");
            return (Criteria) this;
        }

        public Criteria andComGid2In(List<Integer> values) {
            addCriterion("Com_GID2 in", values, "comGid2");
            return (Criteria) this;
        }

        public Criteria andComGid2NotIn(List<Integer> values) {
            addCriterion("Com_GID2 not in", values, "comGid2");
            return (Criteria) this;
        }

        public Criteria andComGid2Between(Integer value1, Integer value2) {
            addCriterion("Com_GID2 between", value1, value2, "comGid2");
            return (Criteria) this;
        }

        public Criteria andComGid2NotBetween(Integer value1, Integer value2) {
            addCriterion("Com_GID2 not between", value1, value2, "comGid2");
            return (Criteria) this;
        }

        public Criteria andPlaceIsNull() {
            addCriterion("Place is null");
            return (Criteria) this;
        }

        public Criteria andPlaceIsNotNull() {
            addCriterion("Place is not null");
            return (Criteria) this;
        }

        public Criteria andPlaceEqualTo(String value) {
            addCriterion("Place =", value, "place");
            return (Criteria) this;
        }

        public Criteria andPlaceNotEqualTo(String value) {
            addCriterion("Place <>", value, "place");
            return (Criteria) this;
        }

        public Criteria andPlaceGreaterThan(String value) {
            addCriterion("Place >", value, "place");
            return (Criteria) this;
        }

        public Criteria andPlaceGreaterThanOrEqualTo(String value) {
            addCriterion("Place >=", value, "place");
            return (Criteria) this;
        }

        public Criteria andPlaceLessThan(String value) {
            addCriterion("Place <", value, "place");
            return (Criteria) this;
        }

        public Criteria andPlaceLessThanOrEqualTo(String value) {
            addCriterion("Place <=", value, "place");
            return (Criteria) this;
        }

        public Criteria andPlaceLike(String value) {
            addCriterion("Place like", value, "place");
            return (Criteria) this;
        }

        public Criteria andPlaceNotLike(String value) {
            addCriterion("Place not like", value, "place");
            return (Criteria) this;
        }

        public Criteria andPlaceIn(List<String> values) {
            addCriterion("Place in", values, "place");
            return (Criteria) this;
        }

        public Criteria andPlaceNotIn(List<String> values) {
            addCriterion("Place not in", values, "place");
            return (Criteria) this;
        }

        public Criteria andPlaceBetween(String value1, String value2) {
            addCriterion("Place between", value1, value2, "place");
            return (Criteria) this;
        }

        public Criteria andPlaceNotBetween(String value1, String value2) {
            addCriterion("Place not between", value1, value2, "place");
            return (Criteria) this;
        }

        public Criteria andNoteIsNull() {
            addCriterion("Note is null");
            return (Criteria) this;
        }

        public Criteria andNoteIsNotNull() {
            addCriterion("Note is not null");
            return (Criteria) this;
        }

        public Criteria andNoteEqualTo(String value) {
            addCriterion("Note =", value, "note");
            return (Criteria) this;
        }

        public Criteria andNoteNotEqualTo(String value) {
            addCriterion("Note <>", value, "note");
            return (Criteria) this;
        }

        public Criteria andNoteGreaterThan(String value) {
            addCriterion("Note >", value, "note");
            return (Criteria) this;
        }

        public Criteria andNoteGreaterThanOrEqualTo(String value) {
            addCriterion("Note >=", value, "note");
            return (Criteria) this;
        }

        public Criteria andNoteLessThan(String value) {
            addCriterion("Note <", value, "note");
            return (Criteria) this;
        }

        public Criteria andNoteLessThanOrEqualTo(String value) {
            addCriterion("Note <=", value, "note");
            return (Criteria) this;
        }

        public Criteria andNoteLike(String value) {
            addCriterion("Note like", value, "note");
            return (Criteria) this;
        }

        public Criteria andNoteNotLike(String value) {
            addCriterion("Note not like", value, "note");
            return (Criteria) this;
        }

        public Criteria andNoteIn(List<String> values) {
            addCriterion("Note in", values, "note");
            return (Criteria) this;
        }

        public Criteria andNoteNotIn(List<String> values) {
            addCriterion("Note not in", values, "note");
            return (Criteria) this;
        }

        public Criteria andNoteBetween(String value1, String value2) {
            addCriterion("Note between", value1, value2, "note");
            return (Criteria) this;
        }

        public Criteria andNoteNotBetween(String value1, String value2) {
            addCriterion("Note not between", value1, value2, "note");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}